package com.wondertek.service.sdk.iotdh.dto.req.arcConfig;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author xxx
 * @Date 2024/8/24 14:59
 */
@Data
public class AddArcConfigReq {
    @Schema(name = "deviceId", description = "设备sn码", required = true)
    private String deviceId;

    @Schema(name = "protocolType", description = "协议类型：\"SIA_DC09\":DC09协议；\"Private\":私有协议", required = true)
    private String protocolType="Private";

    @Schema(name = "primaryAddressIp", description = "主选地址ip", required = true)
    private String primaryAddressIp;

    @Schema(name = "primaryAddressPort", description = "主选地址端口号", required = true)
    private Integer primaryAddressPort;

    @Schema(name = "alternativeAddresses", description = "备选地址", required = false)
    private List<AlternativeAddresses> alternativeAddresses;

    @Schema(name = "enable",description = "接警中心使能：默认为true")
    private boolean enable=true;

    @Schema(name = "siaDc09",description = "周期测试")
    private PeriodicTest periodicTest;

    @Schema(name = "SIA_DC09",description = "接警中心")
    private SIA_DC09 SIA_DC09;
}
